import http from '../utils/http'

// 通过并发请求获取点餐页面数据
export const reqMenuData = () => {
  return http.all(
    http.post('/wx/category/list', { status: 1 }),
    http.post('/wx/goods/list', { status: 1 }),
    http.post('/wx/banner/list', { status: 1, type: 2 }),
  )
}